package com.hk.migration.db.craftsman;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 非取消课程上课后结果, 课耗和老师薪资
 */
@Data
@Table(name = "schedule_lesson_book_ended")
public class ScheduleLessonBookEnded implements Serializable {
    /**
     * 课程ID
     */
    @Id
    @Column(name = "book_lesson_id")
    private Long bookLessonId;

    /**
     * 公司ID
     */
    @Column(name = "company_id")
    private Long companyId;

    /**
     * 课Id
     */
    @Column(name = "lesson_id")
    private Long lessonId;

    /**
     * 课程名称
     */
    @Column(name = "lesson_name")
    private String lessonName;

    /**
     * 课类型对应课耗消耗:ONE_TO_ONE,ONE_TO_TWO
     */
    @Column(name = "lesson_type")
    private String lessonType;

    /**
     * 课程类型: 常规.体验 REGULAR,EXPERIENCE,CHINESE
     */
    @Column(name = "book_type")
    private String bookType;

    /**
     * 开始时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 时长分钟
     */
    @Column(name = "duration_min")
    private Long durationMin;

    /**
     * 老师Id
     */
    @Column(name = "teacher_id")
    private Long teacherId;

    /**
     * 老师名称
     */
    @Column(name = "teacher_name")
    private String teacherName;

    /**
     * 缺席状态:NO_ABSENT,ON_LEAVE,ASK_LEAVE,ABSENT
     */
    @Column(name = "teacher_absent_type")
    private String teacherAbsentType;

    /**
     * 老师进教室时间
     */
    @Column(name = "teacher_in_time")
    private Date teacherInTime;

    /**
     * 老师退出时间
     */
    @Column(name = "teacher_out_time")
    private Date teacherOutTime;

    /**
     * 最后上课状态:课状态:END,CANCEL
     */
    @Column(name = "book_status")
    private String bookStatus;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人Id
     */
    @Column(name = "create_user_id")
    private Long createUserId;

    /**
     * 创建人
     */
    @Column(name = "create_account")
    private String createAccount;

    /**
     * 最后修改时间
     */
    @Column(name = "modified_time")
    private Date modifiedTime;

    /**
     * hello kid后台数据ID
     */
    @Column(name = "hk_id")
    private Long hkId;

    private static final long serialVersionUID = 1L;
}